|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.micromegacorp.math.v3_spi.Int32
public class Int32
Field Summary | |
---|---|
int |
high
|
int |
low
|
protected static java.lang.String |
notReset
|
protected static java.lang.StringBuffer |
sbuf
|
Constructor Summary | |
---|---|
Int32()
Create a new FpuData object initialized to zero. |
|
Int32(int num)
Create a new Int32 initialized to the value of a 16-bit
integer. |
|
Int32(Int32 fnum)
Create a new Intt32 initialized to the value of another
Int32 . |
|
Int32(int high,
int low)
Create a new Int32 initialized to the floating point value
contained in two 16-bit integers. |
Method Summary | |
---|---|
Int32 |
read()
Read 32-bit integer value from FPU register A. |
Int32 |
read(int reg)
Read 32-bit integer value from FPU register. |
Int32 |
set(int num)
Set Int32 to the value of a 16-bit integer. |
Int32 |
set(Int32 fnum)
Set Int32 to the value of another Int32 . |
Int32 |
set(int high,
int low)
Set Int32 to the floating point value contained in two
16-bit integers. |
Int32 |
set(java.lang.String s)
Set int32 to the floating point value represented by a
String . |
Int32 |
set(java.lang.StringBuffer sb)
Set int32 to the floating point value represented by a
StringBuffer . |
java.lang.String |
toString()
Convert value of this Int32 to a String . |
void |
write()
Write 32-bit floating point value to the FPU register A. |
void |
write(int reg)
Write 32-bit integer value to the FPU register. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int high
public int low
protected static final java.lang.String notReset
protected static java.lang.StringBuffer sbuf
Constructor Detail |
---|
public Int32()
public Int32(Int32 fnum)
Intt32
initialized to the value of another
Int32
.
fnum
- Int32
number.public Int32(int high, int low)
Int32
initialized to the floating point value
contained in two 16-bit integers.
high
- high 16 bits of floating point value.low
- low 16 bits of floating point value.public Int32(int num)
Int32
initialized to the value of a 16-bit
integer.
num
- 16-bit integer value (sign extended).Method Detail |
---|
public Int32 set(Int32 fnum)
Int32
to the value of another Int32
.
fnum
- Int32
number.
Int32
reference to result.public Int32 set(int high, int low)
Int32
to the floating point value contained in two
16-bit integers.
high
- high 16 bits of floating point value.low
- low 16 bits of floating point value.
Int32
reference to result.public Int32 set(int num)
Int32
to the value of a 16-bit integer.
num
- 16-bit integer value (sign extended).
Float32
reference to result.public Int32 set(java.lang.String s)
int32
to the floating point value represented by a
String
.
s
- String
representing the floating point value.
int32
reference to result.public Int32 set(java.lang.StringBuffer sb)
int32
to the floating point value represented by a
StringBuffer
.
sb
- StringBuffer
representing the floating point value.
int32
reference to result.public void write()
public void write(int reg)
reg
- register value.public Int32 read()
public Int32 read(int reg)
reg
- register value.
public java.lang.String toString()
Int32
to a String
.
toString
in class java.lang.Object
String
representation of Int32
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |